package eva.savant.core.navigation;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

public class Navigation implements Serializable {


    protected Node defaultNode;

    protected Node currentNode;

    protected List<Node> node;


    public Node getDefaultNode() {

        return defaultNode;
    }

    public void setDefaultNode(Node defaultNode) {

        this.defaultNode = defaultNode;

        this.currentNode = defaultNode;
    }

    public Node getCurrentNode() {

        return currentNode;
    }

    public void setCurrentNode(Node currentNode) {

        this.currentNode = currentNode;
    }

    public List<Node> getNode() {

        return node==null? node= new ArrayList<Node>() : node;
    }

    public void setNode(List<Node> node) {

        this.node = node;
    }

}
